package com.dy.design_pattern_study.visitor_pattern.dome2.impl;

import com.dy.design_pattern_study.visitor_pattern.dome2.Action;
import com.dy.design_pattern_study.visitor_pattern.dome2.Person;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-24
 * @Content 性别类
 */
public class Woman extends Person {
    @Override
    public void accept(Action visitor) {
        visitor.getWomanConclusion(this);
    }
}
